home *** CD-ROM | disk | FTP | other *** search
/ Aminet 6 / Aminet 6 - June 1995.iso / Aminet / util / cli / GetVolumeName.lha / Getvolumename.doc next >
Encoding:
Text File  |  1995-04-18  |  2.5 KB  |  119 lines

  1.     GetVolumeName Release 1.005
  2.     GetVolumeName © Copyright 1995 Frank Peters, All Rights Reserved.
  3.  
  4.  
  5.  
  6.                                    DISCLAIMER
  7.  
  8.       THE  AUTHOR  MAKES  NO  WARRANTIES,  EITHER EXPRESSED OR IMPLIED, WITH
  9.     RESPECT  TO  THE  MATERIAL  DESCRIBED  HEREIN, ITS QUALITY, PERFORMANCE,
  10.     MERCHANTABILITY,  OR  FITNESS FOR ANY PARTICULAR PURPOSE.  THIS MATERIAL
  11.     IS  PROVIDED  "AS  IS"  AND  THE  ENTIRE  RISK  AS  TO  ITS  QUALITY AND
  12.     PERFORMANCE IS WITH THE USER.  IN NO EVENT WILL THE AUTHOR BE LIABLE FOR
  13.     ANY  GENERAL  OR SPECIAL DAMAGES, INCLUDING DIRECT, INDIRECT, INCIDENTAL
  14.     OR  CONSEQUENTIAL  DAMAGES  RESULTING  FROM  THE  USE  OF  THIS  PROGRAM
  15.     (INCLUDING  BUT  NOT  LIMITED  TO  LOSS  OF  DATA OR DATA BEING RENDERED
  16.     INACCURATE  OR  LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF
  17.     THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS).
  18.  
  19.  
  20.                                 RIGHTS RESERVED
  21.  
  22.       THE  AUTHOR  RESERVES  THE RIGHT TO MAKE CHANGES IN THE WHOLE MATERIAL
  23.     IDENTIFIED  IN  THIS  PUPLICATION WITHOUT NOTICE AND TO DISTRIBUTE OTHER
  24.     REVISIONS UNDER DIFFERENT LICENCE STATEMENTS AND/OR CONDITIONS.
  25.  
  26.  
  27.  
  28. Note:
  29. -----
  30. I hate writing docs, so it will be very brief.
  31.  
  32. What does it do:
  33. ----------------
  34.  
  35. It prints out the volumename of the given device.
  36.  
  37. Usage:
  38. ------
  39.  
  40. GetVolumeName DEVICENAME/A,[SHORT|STRINGFILE]
  41.  
  42.  
  43.  Example:
  44.  
  45.  GetVolumeName CD0:
  46.  
  47.  Output:
  48.  
  49.  Volumename of 'cd0:' is: 'SET1C'
  50.  
  51.  Example:
  52.  
  53.  GetVolumeName CD0: SHORT
  54.  
  55.  Output:
  56.  
  57.  SET1C
  58.  
  59.  GetVolumeName cd0: s:stringfile
  60.  
  61.  Output:
  62.  
  63.  depends on which string you put in the stringfile, for more info
  64.  read the next section.
  65.  
  66.  
  67.  
  68. Requirements:
  69. -------------
  70.  
  71. An Amiga =o)
  72. Any kickstart/workbench (3.0, 3.1 tested but should work at any other
  73.                          kickstart)
  74.  
  75. Installation:
  76. -------------
  77.  
  78. Copy GetVolumeName to any path and rename it anyway you like.
  79.  
  80. Stringfile:
  81. -----------
  82.  
  83. The string file may consist out of empty lines, comments, and the actual
  84. string to use.
  85.  
  86. Example:
  87. ---- 8< -- Cut Here -- 8< ----
  88. & This is a comment, everything that starts with an '&' will be diregarded.
  89.  
  90. Current volume in device CD0: is '%s'.
  91.  
  92. ---- 8< -- Cut Here -- 8< ----
  93.  
  94. Will print out
  95.  
  96. Current colume in device CD0: is 'SET1C'.
  97.  
  98. Remember to put in 1 '%s' for substitution of the Volumename.
  99.  
  100. It is also possible to put in ANSI escape codes,
  101. as long as you provide an '%s' in the string.
  102.  
  103.  
  104. Bugs:
  105. -----
  106.  
  107. Reports Bugs to:
  108.  
  109.     frankp@via.nl
  110. or    frankp@online.via.nl
  111.  
  112. Suggestions:
  113. ------------
  114.  
  115. Please send me any suggestions you want, and i'll try to implent them.
  116.  
  117. End:
  118. ----
  119.